package ddd.service.impl;

import ddd.bo.UserLoginRequest;
import ddd.mapper.UserMapper;
import ddd.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {


    @Override
    public Integer login(UserLoginRequest userLoginRequest) {

        boolean result = userLoginRequest.login();

        return result ? 0 : 1;
    }
}
